<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>首页
</title>
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">
	<style type="text/css">
		.margin{
			margin-top: 100px;
		}


	</style>
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse"
            data-target=".navbar-collapse">
                <span class="sr-only">
                    Toggle navigation
                </span>
                <span class="icon-bar">
                </span>
                <span class="icon-bar">
                </span>
                <span class="icon-bar">
                </span>
            </button>
            <a class="navbar-brand hidden-sm" href="http://www.bootcss.com" onclick="_hmt.push(['_trackEvent', 'navbar', 'click', 'navbar-首页'])">
                学并思
            </a>
        </div>
        <div class="navbar-collapse collapse" role="navigation">
            <ul class="nav navbar-nav">
                <li class="hidden-sm hidden-md">
                    <a href="http://v2.bootcss.com/" target="_blank" onclick="_hmt.push(['_trackEvent', 'navbar', 'click', 'v2doc'])">
                        留言区
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
	<div class="col-md-12 margin">
		<?php var_dump($row); ?>
	</div>
	<div class="col-md-12">
		<form method="post" action="./save.php?id=<?php echo $id ?>" method="post">
    		<div class="form-group">
     		<label for="disabledTextInput">用户名</label>
      		<input type="text" id="disabledTextInput" class="form-control" name="username" placeholder="Disabled input" value="<?php echo $row['username'] ?>">
    		</div>
    		<div class="form-group">
      		<label for="disabledSelect">留言区</label>
      		<textarea class="form-control content" name="content" rows="3"><?php echo $row['content'] ?></textarea>
   			 </div>
    		<button type="submit" class="btn btn-primary">修改</button>
		</form>
	</div>
</body>
</html>